﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet2" targetNamespace="http://tempuri.org/DataSet2.xsd" xmlns:mstns="http://tempuri.org/DataSet2.xsd" xmlns="http://tempuri.org/DataSet2.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ess_prod_testConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ess_prod_testConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ess_prod_testConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="wedding_dataTableAdapter" GeneratorDataComponentClassName="wedding_dataTableAdapter" Name="wedding_data" UserDataComponentName="wedding_dataTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ess_prod_testConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[wedding_data] WHERE (([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[wedding_data] ([male_fname], [male_lname], [male_email], [female_fname], [female_lname], [female_email], [wedding_date], [wedding_place], [wishlist_id]) VALUES (@male_fname, @male_lname, @male_email, @female_fname, @female_lname, @female_email, @wedding_date, @wedding_place, @wishlist_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_fname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_fname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_lname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_lname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_email" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_fname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_fname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_lname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_lname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_email" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@wedding_date" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="wedding_date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@wedding_place" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="wedding_place" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@wishlist_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wishlist_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT id, male_fname, male_lname, male_email, female_fname, female_lname, female_email, wedding_date, wedding_place, wishlist_id FROM dbo.wedding_data</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[wedding_data] SET [male_fname] = @male_fname, [male_lname] = @male_lname, [male_email] = @male_email, [female_fname] = @female_fname, [female_lname] = @female_lname, [female_email] = @female_email, [wedding_date] = @wedding_date, [wedding_place] = @wedding_place, [wishlist_id] = @wishlist_id WHERE (([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_fname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_fname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_lname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_lname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@male_email" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="male_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_fname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_fname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_lname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_lname" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@female_email" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="female_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@wedding_date" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="wedding_date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@wedding_place" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="wedding_place" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@wishlist_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="wishlist_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="male_fname" DataSetColumn="male_fname" />
              <Mapping SourceColumn="male_lname" DataSetColumn="male_lname" />
              <Mapping SourceColumn="male_email" DataSetColumn="male_email" />
              <Mapping SourceColumn="female_fname" DataSetColumn="female_fname" />
              <Mapping SourceColumn="female_lname" DataSetColumn="female_lname" />
              <Mapping SourceColumn="female_email" DataSetColumn="female_email" />
              <Mapping SourceColumn="wedding_date" DataSetColumn="wedding_date" />
              <Mapping SourceColumn="wedding_place" DataSetColumn="wedding_place" />
              <Mapping SourceColumn="wishlist_id" DataSetColumn="wishlist_id" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet2" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet2" msprop:Generator_UserDSName="DataSet2">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="wedding_data" msprop:Generator_TableClassName="wedding_dataDataTable" msprop:Generator_TableVarName="tablewedding_data" msprop:Generator_TablePropName="wedding_data" msprop:Generator_RowDeletingName="wedding_dataRowDeleting" msprop:Generator_UserTableName="wedding_data" msprop:Generator_RowChangingName="wedding_dataRowChanging" msprop:Generator_RowEvHandlerName="wedding_dataRowChangeEventHandler" msprop:Generator_RowDeletedName="wedding_dataRowDeleted" msprop:Generator_RowEvArgName="wedding_dataRowChangeEvent" msprop:Generator_RowChangedName="wedding_dataRowChanged" msprop:Generator_RowClassName="wedding_dataRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="male_fname" msprop:Generator_ColumnVarNameInTable="columnmale_fname" msprop:Generator_ColumnPropNameInRow="male_fname" msprop:Generator_ColumnPropNameInTable="male_fnameColumn" msprop:Generator_UserColumnName="male_fname" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="male_lname" msprop:Generator_ColumnVarNameInTable="columnmale_lname" msprop:Generator_ColumnPropNameInRow="male_lname" msprop:Generator_ColumnPropNameInTable="male_lnameColumn" msprop:Generator_UserColumnName="male_lname" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="male_email" msprop:Generator_ColumnVarNameInTable="columnmale_email" msprop:Generator_ColumnPropNameInRow="male_email" msprop:Generator_ColumnPropNameInTable="male_emailColumn" msprop:Generator_UserColumnName="male_email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="female_fname" msprop:Generator_ColumnVarNameInTable="columnfemale_fname" msprop:Generator_ColumnPropNameInRow="female_fname" msprop:Generator_ColumnPropNameInTable="female_fnameColumn" msprop:Generator_UserColumnName="female_fname" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="female_lname" msprop:Generator_ColumnVarNameInTable="columnfemale_lname" msprop:Generator_ColumnPropNameInRow="female_lname" msprop:Generator_ColumnPropNameInTable="female_lnameColumn" msprop:Generator_UserColumnName="female_lname" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="female_email" msprop:Generator_ColumnVarNameInTable="columnfemale_email" msprop:Generator_ColumnPropNameInRow="female_email" msprop:Generator_ColumnPropNameInTable="female_emailColumn" msprop:Generator_UserColumnName="female_email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wedding_date" msprop:Generator_ColumnVarNameInTable="columnwedding_date" msprop:Generator_ColumnPropNameInRow="wedding_date" msprop:Generator_ColumnPropNameInTable="wedding_dateColumn" msprop:Generator_UserColumnName="wedding_date" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wedding_place" msprop:Generator_ColumnVarNameInTable="columnwedding_place" msprop:Generator_ColumnPropNameInRow="wedding_place" msprop:Generator_ColumnPropNameInTable="wedding_placeColumn" msprop:Generator_UserColumnName="wedding_place" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="wishlist_id" msprop:Generator_ColumnVarNameInTable="columnwishlist_id" msprop:Generator_ColumnPropNameInRow="wishlist_id" msprop:Generator_ColumnPropNameInTable="wishlist_idColumn" msprop:Generator_UserColumnName="wishlist_id" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:wedding_data" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
  </xs:element>
</xs:schema>